package main

import "fmt"

type Example struct{
	Name string
}

type IF1 interface{
	Hello()
}

type IF2 interface{
	Hi()
}

func (e Example) Hello(){
	fmt.Println("Hello")
}

func main(){
	var e Example
	v, ok := interface{}(e).(IF1)
	fmt.Println(v, ok)
	v2, ok := interface{}(e).(IF2)
	fmt.Println(v2, ok)
}